Question about Latest Date for Objects

Hello,

I am writing a program which will create an array of various dates. I need the script to find the latest date in the array, and set it is as the applicable date.

I would appreciate any suggestions to do this as simply as possible!

 

Thanks!


fj91 - Thu May 19 14:58:49 EDT 2016